package com.vanward.mes.scan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Spring Boot应用启动类
 */
@SpringBootApplication
@MapperScan("com.vanward.mes.scan.mapper")  // 扫描Mapper接口
@EnableTransactionManagement  // 启用事务管理
public class ScanApplication {

    public static void main(String[] args) {
        SpringApplication.run(ScanApplication.class, args);
    }

}
